<template>
<div>
  <router-view></router-view>
  <!-- 底部tab标签栏 -->
  <van-tabbar v-model="$store.state.bottomNavActive" @change="handleTab">
  <van-tabbar-item icon="home-o" replace to="/shop">首页</van-tabbar-item>
  <van-tabbar-item icon="more-o" replace to="/commentlist">评论</van-tabbar-item>
  <van-tabbar-item icon="orders-o"  replace to="/order">订单</van-tabbar-item>
  <van-tabbar-item icon="user-o"  replace to="/mine">我的</van-tabbar-item>
</van-tabbar>
  
</div>
</template>
<script>
export default {
data() {
return {

}
},
methods: {
  handleTab() {
    
  }
}
}
</script>
<style lang="less" scoped>
  body {
    background-color: #f7f8fa;
  }
</style>